/* The Modal (background) */
.modal1 {
    display: none;
    position: fixed;
    z-index: 1;
    padding-top: 130px;
    left: 0;
    top: 55px;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.538);
}

.blur-img {
    filter: blur(2px);
}

/* Modal Content */
.modal-content {
    position: relative;
    background-color: #fefefe;
    margin: auto;
    padding: 0;
    width: 60%;
    max-width: 1200px;
}

@media screen and (max-width: 600px) {
    .modal-content {
        width: 90%;
    }
}



/* The Close Button */
.close {
    color: rgba(255, 255, 255, 0.549);
    position: absolute;
    top: 55px;
    right: 40px;
    font-size: 35px;
    font-weight: bold;
}

.close:hover {
    color: white;
}

@media screen and (max-width: 600px) {
    .close {
        top: 120px;
        right: 15px;
    }
}

.mySlides {
    display: none;
}

.cursor {
    cursor: pointer;
}

/* Next & previous buttons */
.prev,
.next {
    text-decoration: none;
    cursor: pointer;
    position: absolute;
    top: 35%;
    width: auto;
    padding: 50px;
    color: rgba(255, 255, 255, 0.549);
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    -webkit-user-select: none;
    margin: 50px 200px 0px;
    justify-content: center !important;
    align-items: center !important;
}

@media only screen and (max-width: 321px) {

    .prev,
    .next {
        top: 23% !important;
        margin: 50px -47px 0px !important;
    }

    .modal1 {
        padding-top: 180px;
    }
}

@media screen and (max-width: 450px) {

    .prev,
    .next {
        top: 25% !important;
        margin: 50px -45px 0px !important;
    }

    .modal1 {
        padding-top: 180px;
    }
}

@media only screen and (max-width: 800px) {

    .prev,
    .next {
        top: 24% !important;
        margin: 50px 85px 0px;
    }
}

@media screen and (max-width: 1030px) {

    .prev,
    .next {
        top: 30%;
        margin: 50px 83px 0px;
    }
}

/* Position the "next button" to the right */
.next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
    color: #fff;
}

/* Number text (1/3 etc) */
.numbertext {
    color: #f2f2f2;
    font-size: 12px;
    padding: 8px 12px;
    position: absolute;
    top: 0;
}

img {
    margin-bottom: -4px;
}

.demo {
    opacity: 0.6;
}

.active,
.demo:hover {
    opacity: 1;
}

img.hover-shadow {
    transition: 0.3s;
    border-radius: 7px;
}

.hover-shadow:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}